projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a98efa
)
Tame string formatting warning in libusb.
author
Robert Lipe
<robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 06:34:13 +0000
(
00:34
-0600)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Mon, 3 Dec 2018 06:34:13 +0000
(
00:34
-0600)
jeeps/gpslibusb.cc
patch
|
blob
|
history
diff --git
a/jeeps/gpslibusb.cc
b/jeeps/gpslibusb.cc
index 1a65c6ae37c111531d30206151214e040b5f4ce7..7017969308cd05b48141ba2df76be50646976837 100644
(file)
--- a/
jeeps/gpslibusb.cc
+++ b/
jeeps/gpslibusb.cc
@@
-116,7
+116,7
@@
gusb_libusb_send(const garmin_usb_packet* opkt, size_t sz)
r = usb_bulk_write(udev, gusb_bulk_out_ep, (char*)(void*)opkt->dbuf, sz, TMOUT_B);
if (r != (int) sz) {
- fprintf(stderr, "Bad cmdsend r %d sz %ld\n", r, (unsigned long) sz);
+ fprintf(stderr, "Bad cmdsend r %d sz %l
u
d\n", r, (unsigned long) sz);
if (r < 0) {
fatal("usb_bulk_write failed. '%s'\n",
usb_strerror());